
#import <UIKit/UIKit.h>
//#import "BUAdSDK/BUAdSDK.h"

NS_ASSUME_NONNULL_BEGIN

@protocol WUBannerAdDelegate;

@interface WUBannerADView : UIView

@property (nonatomic, weak, nullable) id<WUBannerAdDelegate> delegate;

- (instancetype)initWithSlotID:(NSString *)slotID
            rootViewController:(UIViewController *)rootViewController
                        adSize:(CGSize)adsize
             IsSupportDeepLink:(BOOL)isSupportDeepLink;
@end

@protocol WUBannerAdDelegate <NSObject>

- (void)bannerAdViewDidLoad:(WUBannerADView *)bannerAdView;

- (void)bannerAdViewDidExposed:(WUBannerADView *)bannerAdView;

- (void)bannerAdView:(WUBannerADView *)bannerAdView FailWithError:(NSError *_Nullable)error;

- (void)bannerAdViewDidClick:(WUBannerADView *)bannerAdView;

- (void)bannerAdViewDidClose:(WUBannerADView *)bannerAdView;

@end

NS_ASSUME_NONNULL_END
